Large software systems need to be modified to remain useful. Changes can be more easily performed when their design has been carefully documented. This paper presents an approach to quickly find design patterns that have been implemented into a software system. The devised solution greatly reduces the performed checks by organising the search for a design pattern as tree traversals, where candidate classes are carefully positioned into trees. By automatically tagging classes with design pattern roles we make it easier for developers to reason with large software systems. Our approach can provide documentation that lets developers understand the role each class is playing, assess the quality of the code, have assistance for refactoring and enhancing the functionalities of the software system.

Searching Design Patterns Fast by Using Tree Traversals / Cicciarella, S; Napoli, C; Tramontana, E. - In: INTERNATIONAL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS. - ISSN 2300-1933. - 61:4(2015), pp. 321-326. [10.1515/eletel-2015-0041]

Searching Design Patterns Fast by Using Tree Traversals

Napoli C
;
2015

Abstract

Large software systems need to be modified to remain useful. Changes can be more easily performed when their design has been carefully documented. This paper presents an approach to quickly find design patterns that have been implemented into a software system. The devised solution greatly reduces the performed checks by organising the search for a design pattern as tree traversals, where candidate classes are carefully positioned into trees. By automatically tagging classes with design pattern roles we make it easier for developers to reason with large software systems. Our approach can provide documentation that lets developers understand the role each class is playing, assess the quality of the code, have assistance for refactoring and enhancing the functionalities of the software system.
2015
design patterns; software architecture; source code analysis
01 Pubblicazione su rivista::01a Articolo in rivista
Searching Design Patterns Fast by Using Tree Traversals / Cicciarella, S; Napoli, C; Tramontana, E. - In: INTERNATIONAL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS. - ISSN 2300-1933. - 61:4(2015), pp. 321-326. [10.1515/eletel-2015-0041]
File allegati a questo prodotto
File Dimensione Formato  
Cicciarella_Searching-Design-Patterns_2015.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 136.15 kB
Formato Adobe PDF
136.15 kB Adobe PDF   Contatta l'autore

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1328568
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 4
  • ???jsp.display-item.citation.isi??? 0
social impact